channel_test:channel_test.cpp ../../mqCommon/proto/mq_message.pb.cc ../../mqCommon/proto/mq_proto.pb.cc
	g++ -std=c++11 -o $@ $^ -lsqlite3 -lpthread -lgtest -lmuduo_net -lmuduo_base -lprotobuf -lz
.PHONY:clean
clean:
	rm -rf channel_test host/